home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3animtr.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_ANIMTR_H = 1;
- include("oops/r3model.js")
-
-
- var R3CLID_ANIMATOR = 87;
-
-
-
-
- // Description: Render the current frame / field / sample.
-
- R3ARM_RENDERFRAME = 87000;
-
- function mR3ARM_RENDERFRAME() {
- DoA(this.r3obj, 87000, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Play the animation to the end.
-
- R3ARM_PLAYTOEND = 87001;
-
- function mR3ARM_PLAYTOEND() {
- DoA(this.r3obj, 87001, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Jump to the current target time specified by attributes R3ARA_CurrentFrame, R3ARA_CurrentField, R3ARA_CurrentSample.
-
- R3ARM_JUMP = 87002;
-
- function mR3ARM_JUMP() {
- DoA(this.r3obj, 87002, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Stop animation.
-
- R3ARM_STOP = 87003;
-
- function mR3ARM_STOP() {
- DoA(this.r3obj, 87003, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Check if animation is running.
- // Returns: Integer, 1 if running forward, -1 if running backward, 0 if not running.
-
- R3ARM_ISPLAYING = 87004;
-
- function mR3ARM_ISPLAYING() {
- return DoA(this.r3obj, 87004, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Advance time by one frame using the current frame / field / sample resolution.
-
- R3ARM_ADVANCETIME = 87005;
-
- function mR3ARM_ADVANCETIME() {
- DoA(this.r3obj, 87005, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Step animation forward by one frame.
-
- R3ARM_NEXTFRAME = 87010;
-
- function mR3ARM_NEXTFRAME() {
- DoA(this.r3obj, 87010, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Step animation backwards by one frame.
-
- R3ARM_PREVFRAME = 87011;
-
- function mR3ARM_PREVFRAME() {
- DoA(this.r3obj, 87011, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Rewind animation back to the first frame.
-
- R3ARM_REWIND = 87012;
-
- function mR3ARM_REWIND() {
- DoA(this.r3obj, 87012, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Rewind animation.
-
- R3ARM_TRANSFORMTIMELINES = 87013;
-
- function mR3ARM_TRANSFORMTIMELINES() {
- DoA(this.r3obj, 87013, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Play the animation to current target time using the current frame / field /
- // sample resolution. * The target time is given through attributes R3ARA_CurrentFrame, R3ARA_CurrentField, R3ARA_CurrentSample.
-
- R3ARM_PLAY = 87016;
-
- function mR3ARM_PLAY() {
- DoA(this.r3obj, 87016, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Play the animation to the beginning of time (reversed play)
-
- R3ARM_PLAYTOBEGINNING = 87017;
-
- function mR3ARM_PLAYTOBEGINNING() {
- DoA(this.r3obj, 87017, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Jump animation to the last frame
-
- R3ARM_JUMPTOEND = 87018;
-
- function mR3ARM_JUMPTOEND() {
- DoA(this.r3obj, 87018, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Internal method to sync. to real time. Don't call directly.
-
- R3ARM_SYNCTOREALTIME = 87019;
-
- function mR3ARM_SYNCTOREALTIME() {
- DoA(this.r3obj, 87019, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Internal, don't call directly
-
- R3ARM_DOSYNC = 87020;
-
- function mR3ARM_DOSYNC() {
- DoA(this.r3obj, 87020, 0, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3ARA_PrimLayer = 87501;
- function SetR3ARA_PrimLayer(value) {
- R3Set(this.r3obj, R3ARA_PrimLayer, value, R3TID_OBJECT, 0);
- }
-
- R3ARA_MatLayer = 87503;
- function SetR3ARA_MatLayer(value) {
- R3Set(this.r3obj, R3ARA_MatLayer, value, R3TID_OBJECT, 0);
- }
-
- R3ARA_Frames = 87504;
- function SetR3ARA_Frames(value) {
- R3Set(this.r3obj, R3ARA_Frames, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_Frames() {
- return R3Get(this.r3obj, R3ARA_Frames, R3TID_INTEGER, 0);
- }
-
- R3ARA_CurrentFrame = 87505;
- function SetR3ARA_CurrentFrame(value) {
- R3Set(this.r3obj, R3ARA_CurrentFrame, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_CurrentFrame() {
- return R3Get(this.r3obj, R3ARA_CurrentFrame, R3TID_INTEGER, 0);
- }
-
- R3ARA_FrameStep = 87506;
- function SetR3ARA_FrameStep(value) {
- R3Set(this.r3obj, R3ARA_FrameStep, value, R3TID_FLOAT, 0);
- }
-
- function GetR3ARA_FrameStep() {
- return R3Get(this.r3obj, R3ARA_FrameStep, R3TID_FLOAT, 0);
- }
-
- R3ARA_CurrentTime = 87507;
- function SetR3ARA_CurrentTime(value) {
- R3Set(this.r3obj, R3ARA_CurrentTime, value, R3TID_FLOAT, 0);
- }
-
- function GetR3ARA_CurrentTime() {
- return R3Get(this.r3obj, R3ARA_CurrentTime, R3TID_FLOAT, 0);
- }
-
- R3ARA_FieldRendering = 87514;
- function SetR3ARA_FieldRendering(value) {
- R3Set(this.r3obj, R3ARA_FieldRendering, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_FieldRendering() {
- return R3Get(this.r3obj, R3ARA_FieldRendering, R3TID_INTEGER, 0);
- }
-
- R3ARA_MotionBlur = 87515;
- function SetR3ARA_MotionBlur(value) {
- R3Set(this.r3obj, R3ARA_MotionBlur, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_MotionBlur() {
- return R3Get(this.r3obj, R3ARA_MotionBlur, R3TID_INTEGER, 0);
- }
-
- R3ARA_MotionSamples = 87516;
- function SetR3ARA_MotionSamples(value) {
- R3Set(this.r3obj, R3ARA_MotionSamples, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_MotionSamples() {
- return R3Get(this.r3obj, R3ARA_MotionSamples, R3TID_INTEGER, 0);
- }
-
- R3ARA_CurrentField = 87517;
- function SetR3ARA_CurrentField(value) {
- R3Set(this.r3obj, R3ARA_CurrentField, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_CurrentField() {
- return R3Get(this.r3obj, R3ARA_CurrentField, R3TID_INTEGER, 0);
- }
-
- R3ARA_CurrentSample = 87518;
- function SetR3ARA_CurrentSample(value) {
- R3Set(this.r3obj, R3ARA_CurrentSample, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_CurrentSample() {
- return R3Get(this.r3obj, R3ARA_CurrentSample, R3TID_INTEGER, 0);
- }
-
- R3ARA_FramesPerSecond = 87523;
- function SetR3ARA_FramesPerSecond(value) {
- R3Set(this.r3obj, R3ARA_FramesPerSecond, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_FramesPerSecond() {
- return R3Get(this.r3obj, R3ARA_FramesPerSecond, R3TID_INTEGER, 0);
- }
-
- R3ARA_CurrentSeconds = 87524;
- function SetR3ARA_CurrentSeconds(value) {
- R3Set(this.r3obj, R3ARA_CurrentSeconds, value, R3TID_FLOAT, 0);
- }
-
- function GetR3ARA_CurrentSeconds() {
- return R3Get(this.r3obj, R3ARA_CurrentSeconds, R3TID_FLOAT, 0);
- }
-
- R3ARA_PlayLoop = 87525;
- function SetR3ARA_PlayLoop(value) {
- R3Set(this.r3obj, R3ARA_PlayLoop, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3ARA_PlayLoop() {
- return R3Get(this.r3obj, R3ARA_PlayLoop, R3TID_BOOLEAN, 0);
- }
-
- R3ARA_ImageEffectLayer = 87526;
- function SetR3ARA_ImageEffectLayer(value) {
- R3Set(this.r3obj, R3ARA_ImageEffectLayer, value, R3TID_OBJECT, 0);
- }
-
- R3ARA_ParticleEffectLayer = 87527;
- function SetR3ARA_ParticleEffectLayer(value) {
- R3Set(this.r3obj, R3ARA_ParticleEffectLayer, value, R3TID_OBJECT, 0);
- }
-
- R3ARA_Seconds = 87528;
- function SetR3ARA_Seconds(value) {
- R3Set(this.r3obj, R3ARA_Seconds, value, R3TID_FLOAT, 0);
- }
-
- function GetR3ARA_Seconds() {
- return R3Get(this.r3obj, R3ARA_Seconds, R3TID_FLOAT, 0);
- }
-
- R3ARA_AddKeyTolerance = 87529;
- function GetR3ARA_AddKeyTolerance() {
- return R3Get(this.r3obj, R3ARA_AddKeyTolerance, R3TID_FLOAT, 0);
- }
-
- R3ARA_EnableSimulations = 87530;
- function SetR3ARA_EnableSimulations(value) {
- R3Set(this.r3obj, R3ARA_EnableSimulations, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_EnableSimulations() {
- return R3Get(this.r3obj, R3ARA_EnableSimulations, R3TID_INTEGER, 0);
- }
-
- R3ARA_AnimMaterials = 87531;
- function SetR3ARA_AnimMaterials(value) {
- R3Set(this.r3obj, R3ARA_AnimMaterials, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_AnimMaterials() {
- return R3Get(this.r3obj, R3ARA_AnimMaterials, R3TID_INTEGER, 0);
- }
-
- R3ARA_AnimImageEffects = 87532;
- function SetR3ARA_AnimImageEffects(value) {
- R3Set(this.r3obj, R3ARA_AnimImageEffects, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_AnimImageEffects() {
- return R3Get(this.r3obj, R3ARA_AnimImageEffects, R3TID_INTEGER, 0);
- }
-
- R3ARA_AnimParticleEffects = 87533;
- function SetR3ARA_AnimParticleEffects(value) {
- R3Set(this.r3obj, R3ARA_AnimParticleEffects, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_AnimParticleEffects() {
- return R3Get(this.r3obj, R3ARA_AnimParticleEffects, R3TID_INTEGER, 0);
- }
-
- R3ARA_RewindObj = 87534;
- function SetR3ARA_RewindObj(value) {
- R3Set(this.r3obj, R3ARA_RewindObj, value, R3TID_OBJECT, 0);
- }
-
- R3ARA_RewindMth = 87535;
- function SetR3ARA_RewindMth(value) {
- R3Set(this.r3obj, R3ARA_RewindMth, value, R3TID_INTEGER, 0);
- }
-
- R3ARA_RewindData = 87536;
- function SetR3ARA_RewindData(value) {
- R3Set(this.r3obj, R3ARA_RewindData, value, R3TID_OBJECT, 0);
- }
-
- R3ARA_StartPlayMth = 87537;
- function SetR3ARA_StartPlayMth(value) {
- R3Set(this.r3obj, R3ARA_StartPlayMth, value, R3TID_INTEGER, 0);
- }
-
- R3ARA_LastFrameInSeconds = 87538;
- function SetR3ARA_LastFrameInSeconds(value) {
- R3Set(this.r3obj, R3ARA_LastFrameInSeconds, value, R3TID_FLOAT, 0);
- }
-
- function GetR3ARA_LastFrameInSeconds() {
- return R3Get(this.r3obj, R3ARA_LastFrameInSeconds, R3TID_FLOAT, 0);
- }
-
- R3ARA_PlayRange = 87539;
- function SetR3ARA_PlayRange(value) {
- R3Set(this.r3obj, R3ARA_PlayRange, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_PlayRange() {
- return R3Get(this.r3obj, R3ARA_PlayRange, R3TID_INTEGER, 0);
- }
-
- R3ARA_RangeFirstFrame = 87540;
- function SetR3ARA_RangeFirstFrame(value) {
- R3Set(this.r3obj, R3ARA_RangeFirstFrame, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_RangeFirstFrame() {
- return R3Get(this.r3obj, R3ARA_RangeFirstFrame, R3TID_INTEGER, 0);
- }
-
- R3ARA_RangeLastFrame = 87541;
- function SetR3ARA_RangeLastFrame(value) {
- R3Set(this.r3obj, R3ARA_RangeLastFrame, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_RangeLastFrame() {
- return R3Get(this.r3obj, R3ARA_RangeLastFrame, R3TID_INTEGER, 0);
- }
-
- R3ARA_AnimImages = 87544;
- function SetR3ARA_AnimImages(value) {
- R3Set(this.r3obj, R3ARA_AnimImages, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_AnimImages() {
- return R3Get(this.r3obj, R3ARA_AnimImages, R3TID_INTEGER, 0);
- }
-
- R3ARA_ImageLayer = 87545;
- function SetR3ARA_ImageLayer(value) {
- R3Set(this.r3obj, R3ARA_ImageLayer, value, R3TID_OBJECT, 0);
- }
-
- R3ARA_FieldShiftUp = 87547;
- function SetR3ARA_FieldShiftUp(value) {
- R3Set(this.r3obj, R3ARA_FieldShiftUp, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_FieldShiftUp() {
- return R3Get(this.r3obj, R3ARA_FieldShiftUp, R3TID_INTEGER, 0);
- }
-
- R3ARA_FieldLaceUp = 87548;
- function SetR3ARA_FieldLaceUp(value) {
- R3Set(this.r3obj, R3ARA_FieldLaceUp, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_FieldLaceUp() {
- return R3Get(this.r3obj, R3ARA_FieldLaceUp, R3TID_INTEGER, 0);
- }
-
- R3ARA_RangeStartSeconds = 87549;
- function SetR3ARA_RangeStartSeconds(value) {
- R3Set(this.r3obj, R3ARA_RangeStartSeconds, value, R3TID_FLOAT, 0);
- }
-
- function GetR3ARA_RangeStartSeconds() {
- return R3Get(this.r3obj, R3ARA_RangeStartSeconds, R3TID_FLOAT, 0);
- }
-
- R3ARA_RangeEndSeconds = 87550;
- function SetR3ARA_RangeEndSeconds(value) {
- R3Set(this.r3obj, R3ARA_RangeEndSeconds, value, R3TID_FLOAT, 0);
- }
-
- function GetR3ARA_RangeEndSeconds() {
- return R3Get(this.r3obj, R3ARA_RangeEndSeconds, R3TID_FLOAT, 0);
- }
-
- R3ARA_AutoRewind = 87551;
- function SetR3ARA_AutoRewind(value) {
- R3Set(this.r3obj, R3ARA_AutoRewind, value, R3TID_INTEGER, 0);
- }
-
- function GetR3ARA_AutoRewind() {
- return R3Get(this.r3obj, R3ARA_AutoRewind, R3TID_INTEGER, 0);
- }
-
- R3ARA_RealTime = 87552;
- function SetR3ARA_RealTime(value) {
- R3Set(this.r3obj, R3ARA_RealTime, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3ARA_RealTime() {
- return R3Get(this.r3obj, R3ARA_RealTime, R3TID_BOOLEAN, 0);
- }
-
- R3ARA_AsyncExecutor = 87553;
- function SetR3ARA_AsyncExecutor(value) {
- R3Set(this.r3obj, R3ARA_AsyncExecutor, value, R3TID_OBJECT, 0);
- }
-
-
-
- function r3Animator () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_ANIMATOR, arguments);
- }
- // Methods
- this.RENDERFRAME=mR3ARM_RENDERFRAME;
- this.PLAYTOEND=mR3ARM_PLAYTOEND;
- this.JUMP=mR3ARM_JUMP;
- this.STOP=mR3ARM_STOP;
- this.ISPLAYING=mR3ARM_ISPLAYING;
- this.ADVANCETIME=mR3ARM_ADVANCETIME;
- this.NEXTFRAME=mR3ARM_NEXTFRAME;
- this.PREVFRAME=mR3ARM_PREVFRAME;
- this.REWIND=mR3ARM_REWIND;
- this.TRANSFORMTIMELINES=mR3ARM_TRANSFORMTIMELINES;
- this.PLAY=mR3ARM_PLAY;
- this.PLAYTOBEGINNING=mR3ARM_PLAYTOBEGINNING;
- this.JUMPTOEND=mR3ARM_JUMPTOEND;
- this.SYNCTOREALTIME=mR3ARM_SYNCTOREALTIME;
- this.DOSYNC=mR3ARM_DOSYNC;
-
- // Attributes
- this.SetPrimLayer=SetR3ARA_PrimLayer;
- this.SetMatLayer=SetR3ARA_MatLayer;
- this.GetFrames=GetR3ARA_Frames;
- this.SetFrames=SetR3ARA_Frames;
- this.GetCurrentFrame=GetR3ARA_CurrentFrame;
- this.SetCurrentFrame=SetR3ARA_CurrentFrame;
- this.GetFrameStep=GetR3ARA_FrameStep;
- this.SetFrameStep=SetR3ARA_FrameStep;
- this.GetCurrentTime=GetR3ARA_CurrentTime;
- this.SetCurrentTime=SetR3ARA_CurrentTime;
- this.GetFieldRendering=GetR3ARA_FieldRendering;
- this.SetFieldRendering=SetR3ARA_FieldRendering;
- this.GetMotionBlur=GetR3ARA_MotionBlur;
- this.SetMotionBlur=SetR3ARA_MotionBlur;
- this.GetMotionSamples=GetR3ARA_MotionSamples;
- this.SetMotionSamples=SetR3ARA_MotionSamples;
- this.GetCurrentField=GetR3ARA_CurrentField;
- this.SetCurrentField=SetR3ARA_CurrentField;
- this.GetCurrentSample=GetR3ARA_CurrentSample;
- this.SetCurrentSample=SetR3ARA_CurrentSample;
- this.GetFramesPerSecond=GetR3ARA_FramesPerSecond;
- this.SetFramesPerSecond=SetR3ARA_FramesPerSecond;
- this.GetCurrentSeconds=GetR3ARA_CurrentSeconds;
- this.SetCurrentSeconds=SetR3ARA_CurrentSeconds;
- this.GetPlayLoop=GetR3ARA_PlayLoop;
- this.SetPlayLoop=SetR3ARA_PlayLoop;
- this.SetImageEffectLayer=SetR3ARA_ImageEffectLayer;
- this.SetParticleEffectLayer=SetR3ARA_ParticleEffectLayer;
- this.GetSeconds=GetR3ARA_Seconds;
- this.SetSeconds=SetR3ARA_Seconds;
- this.GetAddKeyTolerance=GetR3ARA_AddKeyTolerance;
- this.GetEnableSimulations=GetR3ARA_EnableSimulations;
- this.SetEnableSimulations=SetR3ARA_EnableSimulations;
- this.GetAnimMaterials=GetR3ARA_AnimMaterials;
- this.SetAnimMaterials=SetR3ARA_AnimMaterials;
- this.GetAnimImageEffects=GetR3ARA_AnimImageEffects;
- this.SetAnimImageEffects=SetR3ARA_AnimImageEffects;
- this.GetAnimParticleEffects=GetR3ARA_AnimParticleEffects;
- this.SetAnimParticleEffects=SetR3ARA_AnimParticleEffects;
- this.SetRewindObj=SetR3ARA_RewindObj;
- this.SetRewindMth=SetR3ARA_RewindMth;
- this.SetRewindData=SetR3ARA_RewindData;
- this.SetStartPlayMth=SetR3ARA_StartPlayMth;
- this.GetLastFrameInSeconds=GetR3ARA_LastFrameInSeconds;
- this.SetLastFrameInSeconds=SetR3ARA_LastFrameInSeconds;
- this.GetPlayRange=GetR3ARA_PlayRange;
- this.SetPlayRange=SetR3ARA_PlayRange;
- this.GetRangeFirstFrame=GetR3ARA_RangeFirstFrame;
- this.SetRangeFirstFrame=SetR3ARA_RangeFirstFrame;
- this.GetRangeLastFrame=GetR3ARA_RangeLastFrame;
- this.SetRangeLastFrame=SetR3ARA_RangeLastFrame;
- this.GetAnimImages=GetR3ARA_AnimImages;
- this.SetAnimImages=SetR3ARA_AnimImages;
- this.SetImageLayer=SetR3ARA_ImageLayer;
- this.GetFieldShiftUp=GetR3ARA_FieldShiftUp;
- this.SetFieldShiftUp=SetR3ARA_FieldShiftUp;
- this.GetFieldLaceUp=GetR3ARA_FieldLaceUp;
- this.SetFieldLaceUp=SetR3ARA_FieldLaceUp;
- this.GetRangeStartSeconds=GetR3ARA_RangeStartSeconds;
- this.SetRangeStartSeconds=SetR3ARA_RangeStartSeconds;
- this.GetRangeEndSeconds=GetR3ARA_RangeEndSeconds;
- this.SetRangeEndSeconds=SetR3ARA_RangeEndSeconds;
- this.GetAutoRewind=GetR3ARA_AutoRewind;
- this.SetAutoRewind=SetR3ARA_AutoRewind;
- this.GetRealTime=GetR3ARA_RealTime;
- this.SetRealTime=SetR3ARA_RealTime;
- this.SetAsyncExecutor=SetR3ARA_AsyncExecutor;
- }
-
- r3Animator.prototype=new r3Model;
- // r3animtr.h_H